#include<iostream>
#include<vector>
#include<string>
#include<algorithm>
#include<cmath>
using namespace std;
inline void keep_window_open() {char ch; cin >> ch; }

int main()
{
double d=0;
while (cin >> d) {
  int i = d;
  char c=i;
  int i2=c;
  cout << "d==" << d << "\n"
    << "i==" << i << "\n"
    << "i2==" << i2 << "\n"
    << " char(" << c << ")\n";
}
}
